<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        form{
            width: 400px;
            height: 200px;
            border: 1px solid gray;
            margin: 100px auto 0;
            text-align: center;
        }
        form div{
            margin-top: 10px;
            /*display: inline-block;*/
        }
    </style>
</head>
<body>
<form action="/loginServer" method="POST">
     <div>
         <label for="userName">请输入用户名：</label>
         <input type="text" name="userName" id="userName">
     </div>
    <div>
        <label for="passWorld">请输入密码&nbsp;&nbsp;&nbsp;：</label>
        <input type="password" name="password" id="passWorld">
    </div>
    <div>
        <input type="submit" value="登录">
    </div>
</form>
</body>
</html>